package com.company.cloud.mall.modules.app.service;

import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.common.bean.LoginUserInfo;
import com.company.cloud.mall.constant.ShopConstant.PayConfirmWay;
import com.company.cloud.mall.modules.api.response.OrderRefundsModel;
import com.company.cloud.mall.modules.app.controller.req.OrderRefundsApplyParam;
import com.company.cloud.mall.modules.mgr.controller.req.OrderRefundCheckParam;

public interface ShopAfterSaleRefundsService {

	/**新增*/
	public void add(OrderRefundsApplyParam params,LoginSimpleUserInfo userInfo);
	
	/**撤销*/
	public void cancel(String sn,LoginSimpleUserInfo userInfo);
	
	/**审核*/
	public void check(OrderRefundCheckParam params,LoginSimpleUserInfo userInfo);
	
	/**退款(退款申请)*/
	public void refund(String sn,LoginSimpleUserInfo userInfo);
	
	/**退款完成*/
	public void complete(String sn,LoginSimpleUserInfo userInfo);
	
	/**退款回调*/
	public void callbackRefund(String sn,String refundSN,String refundState,String thirdrefundState ,
			PayConfirmWay confirmChannel , LoginSimpleUserInfo userInfo);
	
	/**获取*/
	public OrderRefundsModel get(String sn);
	
	
}
